from flask_shop.apis.user_module.user_apis import Register, \
    Login,\
    CheckToken,\
    GetUserList,\
    GetUserInfo,\
    GetRoleList, \
    UpdateUserInfo, ResetUserPassword, DeleteUser

# from flask_shop.apis.resource_module.resource_apis import UploadOriginVideo

from flask_shop.apis.switch_module.switch_apis import ChangeSwitch, SwitchStatus

routers = {
    "user": {
        "/register": Register,
        "/login": Login,
        "/checktoken": CheckToken,
        "/get-user-list": GetUserList,
        "/get-user-info": GetUserInfo,
        '/get-role-list': GetRoleList,
        '/update-user-info': UpdateUserInfo,
        '/reset-user-pwd': ResetUserPassword,
        '/delete-user': DeleteUser
    },
    # 'resource': {
    #     '/upload-origin-video': UploadOriginVideo
    # },
    'switch': {
        '/change-switch': ChangeSwitch,
        '/switch-status': SwitchStatus
    }
}
